import 'package:flutter/material.dart';
import 'package:tdesign_flutter/tdesign_flutter.dart';

Widget loadWidget(BuildContext context) {
  return Center(
    child: TDLoading(
      size: TDLoadingSize.large,
      icon: TDLoadingIcon.circle,
      iconColor: Theme.of(context).primaryColor,
      text: '加载中…',
      textColor: Theme.of(context).primaryColor,
      axis: Axis.vertical,
    ),
  );
}
